import component from './component.vue';
import Style from '../configView/Style.vue';
import XUE from '@/XUE';
import icon from '@/assets/image/circle.png'

XUE.registerComponent('形状', component, {
    name: 'x-circle',
    icon,
    label: '圆形',
    getConfig() {
        return {
            name: 'x-circle',
            lockAspect: true,
            style: {
                left: 20,
                top: 100,
                width: 80,
                height: 80,
            },
            data: {
                strokeWidth: 1,
                stroke: '#A3A3A3',
                fill: '#A3A3A3',
            }
        }
    },
    getConfigView() {
        return [{
            title: '样式',
            view: Style,
        }];
    }
});
